export const filterImg=(url)=>{
    if(url){
        if(/^(http)/i.test(url)){
            return url
        }
        return "http://localhost:1337"+url
    }
    return "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fc-ssl.duitang.com%2Fuploads%2Fblog%2F202105%2F19%2F20210519231308_f1de3.thumb.1000_0.jpg&refer=http%3A%2F%2Fc-ssl.duitang.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1645766761&t=7f3a43e937e61cef357493097bdc300d ";
}